From 542a913b88b7be95462e0c9e5f57b744e7b8b010 Mon Sep 17 00:00:00 2001 From: Jon Ludlam Date: Mon, 10 Oct 2011 16:41:16 +0100 Subject: [PATCH] tools/ocaml: Fix 2 bit-twiddling bugs and an off-by-one The bit bugs are in ocaml vcpu affinity calls, and the off-by-one error is in the ocaml console ring code Signed-off-by: Zheng Li Acked-by: Ian Campbell Committed-by: Ian Jackson Acked-by: Jon Ludlam --- tools/ocaml/libs/xc/xenctrl_stubs.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/ocaml/libs/xc/xenctrl_stubs.c b/tools/ocaml/libs/xc/xenctrl_stubs.c index b57b50cb17..03923e8c6a 100644 --- a/tools/ocaml/libs/xc/xenctrl_stubs.c +++ b/tools/ocaml/libs/xc/xenctrl_stubs.c @@ -430,7 +430,7 @@ CAMLprim value stub_xc_vcpu_setaffinity(value xch, value domid, for (i=0; i